<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="上传Kubernetes安装包并获取镜像名和Tag信息">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="kubernetes_CSI_00078_2.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="30-OceanProtect 备份一体机 1.5.0-1.6.0 帮助中心">
<meta name="DC.Publisher" content="20240320">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="kubernetes_CSI_00078_3">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>上传Kubernetes安装包并获取镜像名和Tag信息</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="kubernetes_CSI_00078_3"></a><a name="kubernetes_CSI_00078_3"></a>

<h1 class="topictitle1">上传Kubernetes安装包并获取镜像名和Tag信息</h1>
<div><div class="section"><h4 class="sectiontitle">前提条件</h4><p id="kubernetes_CSI_00078_3__kubernetes_csi_00069_p155091416131516">上传Kubernetes安装包前，请用户在<span id="kubernetes_CSI_00078_3__kubernetes_csi_00069_text157711162916">OceanProtect</span>管理界面上查询版本及补丁号，再根据查询到的版本及补丁号下载“<em id="kubernetes_CSI_00078_3__kubernetes_csi_00069_i6500050102512">OceanProtect_DataProtect_X.X.X_K8s_BackupImage.tgz</em>”安装包，解压安装包后，获得对应产品架构的“k8s_backup_image_x86.tar”或“k8s_backup_image_arm64.tar”压缩包，Kubernetes安装包通过以下方式获取。</p>
<ul id="kubernetes_CSI_00078_3__kubernetes_csi_00069_ul1470191016457"><li id="kubernetes_CSI_00078_3__kubernetes_csi_00069_li12701151074511">企业用户：<a href="https://support.huawei.com/enterprise/zh/flash-storage/oceanprotect-databackup-pid-258115661/software/" target="_blank" rel="noopener noreferrer">点此前往</a></li><li id="kubernetes_CSI_00078_3__kubernetes_csi_00069_li8194016184520">运营商用户：<a href="https://support.huawei.com/carrier/navi?coltype=software#col=software&amp;path=PBI1-21430725/PBI1-251363742/PBI1-250389226/PBI1-251366310/PBI1-258115661" target="_blank" rel="noopener noreferrer">点此前往</a><div class="note" id="kubernetes_CSI_00078_3__kubernetes_csi_00069_note17426123215178"><img src="public_sys-resources/note_3.0-zh-cn.png"><span class="notetitle"> </span><div class="notebody"><div class="p" id="kubernetes_CSI_00078_3__kubernetes_csi_00069_p8557192519583">可通过以下方式查询版本及补丁号。<ol id="kubernetes_CSI_00078_3__kubernetes_csi_00069_ol1134712489218"><li id="kubernetes_CSI_00078_3__kubernetes_csi_00069_li858118598213">单击右上角<span><img id="kubernetes_CSI_00078_3__kubernetes_csi_00069_image1458902641019" src="zh-cn_image_0000002038335773.png"></span>图标，选择“<span id="kubernetes_CSI_00078_3__kubernetes_csi_00069_text1501142871111">关于</span>”。</li><li id="kubernetes_CSI_00078_3__kubernetes_csi_00069_li11788143451113">在弹框中“<span id="kubernetes_CSI_00078_3__kubernetes_csi_00069_text8170123961415">版本</span>”所在行显示出版本及补丁号。</li></ol>
</div>
</div></div>
</li></ul>
</div>
<div class="section"><h4 class="sectiontitle">操作步骤</h4><ol><li><span>通过后台登录Kubernetes集群。</span></li><li><span>执行oc get csiNode命令查看安装了CSIDriver的节点，回显中“DRIVERS”参数值不为0的节点则为安装了CSIDriver的工作节点。</span><p><p><span><img src="zh-cn_image_0000001940493085.png"></span></p>
</p></li><li><span>将已获取的镜像压缩包上传至所有安装了CSIDriver的工作节点。</span></li><li><span>分别登录安装了CSIDriver的工作节点，在镜像压缩包所在目录，执行<strong>sudo podman load -i</strong> <em>镜像压缩包</em><em>名称</em>命令，上传镜像。</span></li><li><span>上传成功后，可通过<strong>sudo podman images</strong>命令查看镜像名称和Tag信息，镜像名称和Tag分别对应回显中的“REPOSITORY”和“TAG”参数。</span><p><p><span><img src="zh-cn_image_0000001903188124.png"></span></p>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>父主题：</strong> <a href="kubernetes_CSI_00078_2.html">备份前准备（适用于OpenShift）</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>